
<div class="container">    
    <?php if (count($contas) > 0) { ?>
    <div style="background-color: #FAFAFA;padding: 5px">
     <div class="row">
      <?php foreach ($contas as $conta) { ?>    
         <div class="col-xs-5 col-md-2">
            <img src="<?php echo base_url('UploadImg/Perfil/' . $conta->Foto . '.jpg') ?>" alt="..." style="height: 150px">
            <div class="caption">
                <h3><?php echo $conta->Nome; ?></h3>
               <form class="navbar-form" role="search" method="POST" 
                     action="<?php echo base_url('./index.php/contaseguindo/excluir') ?>">
                   <?php echo form_hidden('contaID', $conta->ContaID); ?>
                   <button type="submit" class="btn btn-default btn-xs">
                   <span class="glyphicon glyphicon-tag"></span> não seguir
                </button>
               </form>
            </div>
        </div>
      <?php } ?>
    </div>
    </div>
    <?php } else { ?>
      <h4>Nenhum resultado encotrado.</h4>
    <?php } ?>
</div>